package com.example.chatrecommendation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatrecommendation.bean.ChattingRecords;
import com.example.chatrecommendation.bean.dto.ChattingAddDto;
import com.example.chatrecommendation.bean.dto.Messages;
import com.example.chatrecommendation.bean.vo.ChattingListVo;

import java.util.List;

/**
 *
 * @description 针对表【chatting_records(聊天历史记录)】的数据库操作Service
 * @Date 2024-05-21 20:35:02
 * @author Jasmine-drs
 */
public interface ChattingRecordsService extends IService<ChattingRecords> {

	List<ChattingListVo> getChatRecords(Integer studentAccount, Integer type);

	void saveChatRecords(Integer id, List<Messages> list);

	ChattingRecords addChatRecords(ChattingAddDto chattingAddDto);
}
